package cn.chencq.moudle.sys.service;

import java.util.List;

import cn.chencq.moudle.sys.entity.SysUser;

public interface SysUserService extends BaseService<SysUser> {

	void updateUser(SysUser user);

	SysUser queryByUserName(String userName);

	boolean updatePassword(Long userId, String password, String newPassword);

	List<Long> queryAllMenuId(Long userId);

	List<String> queryAllPermsByUserId(Long userId);
}
